ArticleDirectory
2.1 extensions)
2.2 chrome
2.3 xulrunner
2.4 XPCOM
2.5 XP install
3.1 Firefox extension Structure
3.2 extended Installation Process
3.3 Analysis of the XP install Module
3.4 analysis of the rdf Module
3.5 extended Startup Process
4.1 difficulties in Analysis
4.2 analysis gains
I am too lazy to organize the following figure. Upload a PDF file directly. If you are interested, check it out. I
Some Supplement and description of component development technology under XPCOM--LINUXOriginal article from: World Business comments icxo. com (date)--------------------------------------------------------------------------------Boise bjgxjob@163.com--------------------------------------------------------------------------------As a component technology implemented by Microsoft, COM technology plays an important role in the Windows platform station an
XP com can be regarded as an open-source version of Microsoft COM, but the current application scope is limited, mainly because the gecko engine of Firefox is in use.
XPCOM is not a browser plug-in, but a browser itself. Firefox is composed of a bunch of XPCOM components. In Firefox, basically all browser-related functions are defined as components, including webpage navigation, window management, Cookie m
Author: BuilderPM
WithFirefoxMarket Share continues to rise, cross-platform Component Object Model (Cross Platform Component Object Model) Is also developing rapidly. Here we will give an example to illustrate how to use this object model.The Mozilla Browser is opening a world that uses cross-platform Component Object Model (XPCOM. The Mozilla Browser also introduces the xpconnect technology, which allows components to be executed in the brow
Compile the XPCOM component in C ++
Let's take a look at the examples provided on the official website and download the sample program xpcom-test.
See the article https://developer.mozilla.org/en/How_to_build_a_binary_XPCOM_component_using_Visual_Studio for configuration methods
There is no need to download the Gecko-SDK in this article. If you use a newer version of xul-runner, you can use its SDK,
If y
Xp com can be regarded as an open-source version of Microsoft COM, but the current application scope is limited, mainly because the gecko engine of firefox is in use.
Xpcom is not a browser plug-in, but a browser itself. Firefox is composed of a bunch of xpcom components. In Firefox, basically all browser-related functions are defined as components, including webpage navigation, window management, cookie m
I. Basic CONCEPTS
Xpcom is a cross-platform component model, all of which is called Cross Platform Component Object Module. Xpcom implements a framework (framework) that allows developers to break a single, monolithic software project and break down into smaller modular fragments (pieces), which are also components (components). Xpcom component development
1. First install the gecko SDK and decompress it to the local directory such as/home/user/SDK/gecko-SDK/2. Create guid uuidgen for the main interface class2. Compile the interface file ***. IDL3. generate ***. H and ***. xpt file (xpidl-M Header/typelib-w-O/output path/output file name-I/Gecko/IDL path to be compiled ***. IDL file)4. modify the header file of the generated component ***. h. Add the Macro Protection Code (# ifndef _ my_mycomponent_h _...) at the beginning _...), generate a guid f
Normal 0 7.8 磅 0 2
How to Build the environment of XPCOM in Windows XP
1. Download xulrunner-1.8.0.4.en-US.win32.zipAnd extract it in the appropriate folder, for example 'C:/XXX/Xulrunner-1.8.0.4 '.
2. Download gecko-sdk-win32-msvc-1.8.0.4.zipAnd extract it in the appropriate folder, for example 'C:/XXX/xulrunner-1.8.0.4/Gecko-sdk-1.8.0.4 '.
3. Click 'My Computer 'By the right buttonOf mouse, and select 'properties'
For a long time ago, share the document. However, gecko2.0 is now available, so some details may change. Currently, gecko2.0 has not been studied. To be continued.
Objective: To understand the idea of JS implementing XPCOM.The JS-implemented XPCOM and xpt must be placed in a folder, that is, the components folder.(Similarly, the C ++-implemented XPCOM (DLL file) must be placed in the same folder as xpt, whi
1. JavaScript Component(1) Add a customcomponent.manifestinch customcomponent.jscomponent {e6b866e3-41b2-4f05-a4d2-3d4bde0f7ef8} components/ Customcomponent.jscontract @foobar/customcomponent;1 {e6b866e3-41b2-4f05-a4d2-3d4bde0f7ef8}category Profile-after-change customcomponent @foobar/customcomponent;1(2) Export a nsgetfactory () functionComponents.utils.import ("RESOURCE://GRE/MODULES/XPCOMUTILS.JSM");functioncustomcomponent () {}customcomponent.prototype= { //This must match whatever are in c
Recently installed eclipse through the emerge, the result of the libjpeg.so also as a dependency update, and then opened Firefox, Half-day no response, open in the shell, prompted couldn ' d load XPCOM. I tried another program, Konqueror, SeaMonkey, Galeon, Epiphany, Thunderbird, Webhttrack can not open, Konqueror Okay, there are hints, Say that can't find libjpeg.so.62, is this the reason.
Then enter at the command line:
#locate libjpeg.so
The resul
Recently, eclipse was installed through emerge, and libjpeg. So was also updated as a dependency. Later, Firefox was opened, but it did not respond for a long time. In shell, the prompt "Couldn 'd load XPCOM" was displayed. I tried something else.ProgramKonqueror, SeaMonkey, galeon, epiphany, Thunderbird, and webhttrack cannot be opened. Konqueror is okay. I have a prompt saying that libjpeg. so.62 cannot be found. Is this the reason?
Enter the f
downloadSource code, Compile and install it by yourself.
SourceCodeDownload:Http://sourceforge.net/projects/htmlvalidator/files/
Below are the steps to compile HTML validator on 32-bit Ubuntu 9.10 Linux: 1、download htmlvalidator-0.8.5.820.svn65.tar.bz2, decompress, locate/home/sink/desktop/htmlvalidator-0.8.5.8 in the command line
Enter./configure
Error, prompt:
Checking for XPCOM... noConfigure: Warning: Libxul not found, trying anotherChec
XPCOMAs a component technology implemented by Microsoft, the component development technology COM in Linux plays an important role in the Windows platform and can be seen in module reuse and cross-language communication. But today I want to introduce the com implementation in Linux ---- XPCOM, which is the basic technology used in the Mozilla Browser project. We can use C ++ to create the XPCOM component, i
based on Firefox itself added some of the practical features, and "plug-in" is a stand-alone program in addition to Firefox, used to display Web pages specific content such as Flash, video and Java.
In fact, what we need to develop is extension.
To develop extension, you can take a few steps:
1. Understand what is extension, the general ready-made extension how to make up? What is the specific function of each file contained inside?
2. Understand the mechanism of Firefox to handle running e
XPCOM, a powerful component system. While XPCOM brings a lot of exciting features to Gecko to make this rendering engine modular, this feature is abused by some developers, and when Ars Technica2004 interviews Mozilla developer Scott Collins, Scott Collin S said that the abuse of XPCOM is one of the main mistakes of Mozilla.Given the complexity of XUL and
a browser, a complete mail and newsgroup program, a web design tool, and an IRC client. in addition to rendering HTML, Gecko also provides a versatile XML-based user interface rendering framework called XUL that was used extensively in those applications. XUL is still used today to create the Firefox user interface, and it facilitates that browser's support for extensions, which are regarded by using enthusiasts as one of the most valuable features offered by Firefox.
Another reason for much of
in the chrome directory?2. Is the ID of the app section in application. ini associated with the extension ID (usually a guid?3. After xulrunner.exe is called, two directories will be generated: extensions and updates. What are the two directories used?
In addition, it is worth noting that when xulrunnerto execute application.ini, you cannot drop .exe, that is, you cannot write/> xulrunner application. INI, which must be/> xulrunner.exe application. INI. Otherwise, the error message "couldn't pa
How to create an IDL? If you want to install gecko-sdk in Hongqi 7, why is there no XPIDL? -- Linux general technology-Linux technology and application information. For details, refer to the following section. Xpidl
Content table
1. Compile xpidl
2. Use IDL
3. Resources
4. original document information
Xpidl is a tool used to generate information about the XPCOM interface based on the description file of the XPIDL interface. It will automatically ge
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.